﻿using System;
namespace ElingOA6_Admin_DSJCJ.Model
{
	/// <summary>
	/// OnePrjOneDiscus:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class OnePrjOneDiscus
	{
		public OnePrjOneDiscus()
		{
			FisPoor="N";
			FInsDate= DateTime.Now;
			FUpdDate= DateTime.Now;
			FStatus="N";
		}
		#region Model
		/// <summary>
		/// 一事一议ID
		/// </summary>
		public decimal FOnePrjOneDiscusID
		{
			set;
			get;
		}
		/// <summary>
		/// 一事一议项目名称
		/// </summary>
		public string FTitle
		{
			set;
			get;
		}
		/// <summary>
		/// 项目所属年度
		/// </summary>
		public decimal? FYear
		{
			set;
			get;
		}
		/// <summary>
		/// 部门编号
        ///这里只填写乡镇编号，对应部门表编号，是部门表中派出机构部分数据
		/// </summary>
		public string FDeptNo
		{
			set;
			get;
		}
		/// <summary>
		/// 公司编码
		/// </summary>
		public string FEntityNo
		{
			set;
			get;
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string FNote
		{
			set;
			get;
		}
		/// <summary>
		/// 是否欠发达村：
        ///Y - 是 
        ///N - 否
		/// </summary>
		public string FisPoor
		{
			set;
			get;
		}
		/// <summary>
		/// 项目建设申请表原文件名
		/// </summary>
		public string FAttachOldFileName
		{
			set;
			get;
		}
		/// <summary>
		/// 项目建设申请表上传后文件名
		/// </summary>
		public string FAttachSvrFileName
		{
			set;
			get;
		}
		/// <summary>
		/// 项目建设申请表文件类型
		/// </summary>
		public string FAttachFileExt
		{
			set;
			get;
		}
		/// <summary>
		/// 发布时间
		/// </summary>
		public DateTime? FInsDate
		{
			set;
			get;
		}
		/// <summary>
		/// 发布IP
		/// </summary>
		public string FInsIP
		{
			set;
			get;
		}
		/// <summary>
		/// 录入员工编号
		/// </summary>
		public string FInsEmpNo
		{
			set;
			get;
		}
		/// <summary>
		/// 修改员工编号
		/// </summary>
		public string FUpdEmpNo
		{
			set;
			get;
		}
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? FUpdDate
		{
			set;
			get;
		}
		/// <summary>
		/// 修改IP
		/// </summary>
		public string FUpdIP
		{
			set;
			get;
		}
		/// <summary>
		/// 审批员工编号
		/// </summary>
		public string FCheckEmpNo
		{
			set;
			get;
		}
		/// <summary>
		/// 审批时间
		/// </summary>
		public DateTime? FCheckDate
		{
			set;
			get;
		}
		/// <summary>
		/// 审批IP
		/// </summary>
		public string FCheckIP
		{
			set;
			get;
		}


		/// <summary>
		/// 状态：
        ///指明是否录用
        ///Y - 录用
        ///N - 未录用
        ///NULL 未审批
		/// </summary>
		public string FStatus
		{
			set;
			get;
		}
		#endregion Model

        /// <summary>
        /// 
        /// </summary>
        public string FisPoorName 
        {
            get { 
                switch (FisPoor) {
                    case "Y":
                        return "是";
            }
            return "否";
            }
        
        }
        
        /// <summary>
        /// 
        /// </summary>
        public string FStatusName
        {
            get
            {
                switch (FStatus)
                {
                    case "Y":
                        return "是";
                    case "N":
                        return "否";
                }
                return "未审核";
            }
        
        }
        /// <summary>
        /// 
        /// </summary>
        private string _fdeptname;
        /// <summary>
        /// 
        /// </summary>
        public string FDeptName
        {
            set { _fdeptname = value; }
            get { return _fdeptname; }
        }


	}
}

